package com.jd.dao;


import com.jd.entity.Gorder;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by Administrator on 2017/9/20/020.
 */
@Mapper
public interface OrderDao{
    List<Gorder> findByUid(Integer uid);

    int saveOrder(Gorder gorder);

    int updateOrder(@Param("price") Double price, @Param("oid") Integer oid);
}
